home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************
- *
- * grid.rh
- *
- * This is an #include file for the Rayshade Standard Header
- * Files. It defines the grid superprimitives in the package.
- *
- * Please do not edit this file, or any of the other files in
- * this package! Make additions to these in your own separate
- * file. If you think you have something that should be added
- * permanently, please send it to Larry Coffin and/or David
- * DeBry (email addresses listed below). If we include it in
- * the next release, we'll put your name in the contributor's
- * list.
- *
- * Contributors (in alphabetical order):
- * Larry Coffin <lcoffin@clciris.chem.umr.edu>
- * David DeBry <ddebry@dsd.es.com>
- */
-
- #ifndef RSHF_GRID
- #define RSHF_GRID
-
- #define RSPgridobj(prefix,surf) \
- name XGrid \
- list \
- cylinder .01 0 0 0 10 0 0 \
- end \
- name YGrid \
- list \
- cylinder .01 0 0 0 0 10 0 \
- end \
- name ZGrid \
- list \
- cylinder .01 0 0 0 0 0 10 \
- end \
- \
- name XPlaneGrid \
- list \
- object XGrid \
- object XGrid translate 0 1 0 \
- object XGrid translate 0 2 0 \
- object XGrid translate 0 3 0 \
- object XGrid translate 0 4 0 \
- object XGrid translate 0 5 0 \
- object XGrid translate 0 6 0 \
- object XGrid translate 0 7 0 \
- object XGrid translate 0 8 0 \
- object XGrid translate 0 9 0 \
- object XGrid translate 0 10 0 \
- end \
- name YPlaneGrid \
- list \
- object YGrid \
- object YGrid translate 1 0 0 \
- object YGrid translate 2 0 0 \
- object YGrid translate 3 0 0 \
- object YGrid translate 4 0 0 \
- object YGrid translate 5 0 0 \
- object YGrid translate 6 0 0 \
- object YGrid translate 7 0 0 \
- object YGrid translate 8 0 0 \
- object YGrid translate 9 0 0 \
- object YGrid translate 10 0 0 \
- end \
- name ZPlaneGrid \
- list \
- object ZGrid \
- object ZGrid translate 0 1 0 \
- object ZGrid translate 0 2 0 \
- object ZGrid translate 0 3 0 \
- object ZGrid translate 0 4 0 \
- object ZGrid translate 0 5 0 \
- object ZGrid translate 0 6 0 \
- object ZGrid translate 0 7 0 \
- object ZGrid translate 0 8 0 \
- object ZGrid translate 0 9 0 \
- object ZGrid translate 0 10 0 \
- end \
- \
- name GridObj list \
- object XPlaneGrid \
- object XPlaneGrid translate 0 0 1 \
- object XPlaneGrid translate 0 0 2 \
- object XPlaneGrid translate 0 0 3 \
- object XPlaneGrid translate 0 0 4 \
- object XPlaneGrid translate 0 0 5 \
- object XPlaneGrid translate 0 0 6 \
- object XPlaneGrid translate 0 0 7 \
- object XPlaneGrid translate 0 0 8 \
- object XPlaneGrid translate 0 0 9 \
- object XPlaneGrid translate 0 0 10 \
- \
- object YPlaneGrid \
- object YPlaneGrid translate 0 0 1 \
- object YPlaneGrid translate 0 0 2 \
- object YPlaneGrid translate 0 0 3 \
- object YPlaneGrid translate 0 0 4 \
- object YPlaneGrid translate 0 0 5 \
- object YPlaneGrid translate 0 0 6 \
- object YPlaneGrid translate 0 0 7 \
- object YPlaneGrid translate 0 0 8 \
- object YPlaneGrid translate 0 0 9 \
- object YPlaneGrid translate 0 0 10 \
- \
- object ZPlaneGrid \
- object ZPlaneGrid translate 1 0 0 \
- object ZPlaneGrid translate 2 0 0 \
- object ZPlaneGrid translate 3 0 0 \
- object ZPlaneGrid translate 4 0 0 \
- object ZPlaneGrid translate 5 0 0 \
- object ZPlaneGrid translate 6 0 0 \
- object ZPlaneGrid translate 7 0 0 \
- object ZPlaneGrid translate 8 0 0 \
- object ZPlaneGrid translate 9 0 0 \
- object ZPlaneGrid translate 10 0 0 \
- end \
- prefix object surf GridObj
-
-
- #endif /* ifndef RSHF_GRID */
-
-